module.exports = {
    lintOnSave: false,
    chainWebpack: config => {
      config.plugin('html')
      .tap(args => {
          args[0].title = "三牛";
          return args;
      })
    },
    devServer: {
      overlay: { //让浏览器同时显示警告和错误
        warnings: true,
        errers: true
      },
      host: 'localhost',
      port: 8080,
      https: false,
      open: true,
      hotOnly: true
    },
    publicPath: './'
}